<#assign base=request.contextPath />
<#assign oneLabel="系统管理">

<#assign twoLabel="管理员管理">
<#assign twoUrl=base+"/role/list">

<#assign leafLabel="管理员详情">
<!DOCTYPE html>
<html lang="en">
<head>
	<#include "/commons/headImport.ftl">
</head>
<body>
<#include "/commons/header.ftl">
<form class="form-horizontal" role="form" name="formName" method="post">
<#include "/commons/hiddenField.ftl">
<div class="row">
    <div class="col-xs-12">
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">用户名:</label>
            <div class="col-sm-4">
                <div class="help-block col-xs-12 col-sm-reset inline">${userDO.username!'-'}(${userDO.id!0})</div>
            </div>
        </div>
        <div class="space-4"></div>
    
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">真实姓名:</label>
            <div class="col-sm-4">
                <div class="help-block col-xs-12 col-sm-reset inline">${userDO.trueName!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>
    
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">邮箱:</label>
            <div class="col-sm-4">
            	 <div class="help-block col-xs-12 col-sm-reset inline">${userDO.email!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>
    
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">生日:</label>
            <div class="col-sm-4">
                 <div class="help-block col-xs-12 col-sm-reset inline">${userDO.birthday!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>
    
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">部门:</label>
            <div class="col-sm-4">
                <div class="help-block col-xs-12 col-sm-reset inline">${userDO.deptDO.name!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>
    
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">职位:</label>
            <div class="col-sm-4">
               <div class="help-block col-xs-12 col-sm-reset inline">${userDO.jobDO.name!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">性别:</label>
            <div class="col-sm-4">
            	<div class="help-block col-xs-12 col-sm-reset inline">${sexMap['${userDO.sex}']!''}</div>
            </div>
        </div>
        <div class="space-4"></div>
                                      
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">状态:</label>
            <div class="col-sm-4">
            	<div class="help-block col-xs-12 col-sm-reset inline">${statusMap['${userDO.status}']}</div>
            </div>
        </div>
        <div class="space-4"></div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">创建人:</label>
            <div class="col-sm-4">
            	<div class="help-block col-xs-12 col-sm-reset inline">${userDO.createdBy!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">创建时间:</label>
            <div class="col-sm-4">
                <div class="help-block col-xs-12 col-sm-reset inline">${(userDO.gmtCreate?string('yyyy-MM-dd HH:mm:ss'))!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>

        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">修改人:</label>
            <div class="col-sm-4">
            	<div class="help-block col-xs-12 col-sm-reset inline">${userDO.updatedBy!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>
    
        <div class="form-group">
            <label class="col-sm-2 control-label no-padding-right">修改时间:</label>
            <div class="col-sm-4">
                <div class="help-block col-xs-12 col-sm-reset inline">${(userDO.gmtUpdate?string('yyyy-MM-dd HH:mm:ss'))!'-'}</div>
            </div>
        </div>
        <div class="space-4"></div>
    </div><!-- /.col -->
</div><!-- /.row -->

<div class="hr hr32 hr-dotted"></div>
<div class="clearfix">
    <div class="col-md-offset-2 col-md-9">
        <button class="btn btn-xs return_class" type="button" url="${base}/user/list">
                <i class="icon-reply bigger-110"></i>返回
            </button>
     </div>
</div>
<#include "/commons/footer.ftl">
</body>
</html>
